#include "items.h"

Items::Items( CheesesType type,int radius, QPoint location)
{
  this->type = type;
  this->radius = radius;
  this->location = location;
}

QRectF Items::boundingRect() const
{
  return QRectF(0, 0, 2*radius, 2*radius);
}

CheesesType Items::toGetCheesesType() const
{
    return type;
}

 QPoint Items::toGetLocation() const
 {
     return location;
 }

 void Items::setLocation(const QPoint& point)
 {
   this->location = point;
 }

 int Items::toGetRadius() const
 {
    return radius;
 }
void Items::paint(QPainter *, const QStyleOptionGraphicsItem *,QWidget *){}
